//
//  AnchorGroupModel.swift
//  SwiftDemo
//
//  Created by 李国卿 on 2020/1/17.
//  Copyright © 2020 guoqing.li. All rights reserved.
//

import UIKit

class AnchorGroupModel: BaseGameModel {
    // 注意：属性请加@objc 否则会转模型失败
    /// 组显示的图标
    @objc var icon_name : String = "home_header_normal"
    
    /// 定义主播对象模型数组
    @objc var anchors : [AnchorModel] = [AnchorModel]()
    
    /// 该组中对应的房间模型
    @objc var room_list : [[String : NSObject]]?{
        didSet{
            guard let room_list = room_list else {
                return
            }
            for dic in room_list {
                anchors.append(AnchorModel.init(dic: dic))
            }
        }
        
    }
    
    
}
